package com.itheima.tlias.service;

import com.itheima.tlias.pojo.PageResult;
import com.itheima.tlias.pojo.Student;
import com.itheima.tlias.pojo.StudentDateOption;

import java.util.List;
import java.util.Map;

public interface StudentService {
	Student getById(Integer id);

	PageResult<Student> page(Integer clazzId, Integer degree, String name, Integer page, Integer pageSize);

	void save(Student student);

	//void deleteById(Integer id);

	void deleteByIds(List<Integer> idList);

	void updateScore(Integer id, Integer score);

	void update(Student student);

	List<Map<String, Object>> getDegreeData();

	StudentDateOption getStudentCountData();
}
